﻿<div ng-include src="'tpl/public/header.html'"></div>
<div class="contents">
    <ol class="breadcrumb">
        <li>
            <a href="#/index/panel">首页</a>
        </li>
        <li>
            <a href="#/product/list?t={{t}}">
                <span ng-if="t=='02'">信托</span>
                <span ng-if="t=='03'">资管</span>
                <span ng-if="t=='07'">债权基金</span>
                列表
            </a>
        </li>
        <li class="active">{{pathText}}</li>
    </ol>
    <tabset class="product-tabs">
        <tab heading="产品详情" ng-click="changeTab('viewUrl')" has-auth where="btn" who="PRODUCT_QUERY">
            <iframe ng-src="{{tabUrl.viewUrl}}" style="height:{{iframeHeight ? (iframeHeight + 'px') : ''}}"></iframe>
        </tab>
        <tab heading="设置产品信息" ng-click="changeTab('baseUrl')" has-auth where="btn" who="PRODUCT_EDIT" owner="{{product.createBy}}">
            <iframe ng-src="{{tabUrl.baseUrl}}" ></iframe>
        </tab>
        <tab heading="设置销售进度" ng-click="changeTab('saleprocessUrl')" has-auth where="btn" who="PRODUCT_UPDATE_SALEPROCESS">
            <iframe ng-src="{{tabUrl.saleprocessUrl}}" ></iframe>
        </tab>
        <tab heading="设置年化及佣金" ng-click="changeTab('profitUrl')" has-auth where="btn" who="PRODUCT_PROFIT_LIST">
            <iframe ng-src="{{tabUrl.profitUrl}}" ></iframe>
        </tab>
        <tab heading="设置附件" ng-click="changeTab('attachmentUrl')" has-auth where="btn" who="PRODUCT_ATTACH_LIST">
            <iframe ng-src="{{tabUrl.attachmentUrl}}" ></iframe>
        </tab>
        <tab heading="设置视频内容" ng-click="changeTab('roadVideo')" has-auth where="btn" who="PRODUCT_ATTACH_LIST">
            <iframe ng-src="{{tabUrl.roadVideo}}" ></iframe>
        </tab>
    </tabset>

</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8" ></div>